package cn.tedu.community.passport.mapper;

import cn.tedu.community.passport.pojo.entity.AdminRole;
import cn.tedu.community.passport.pojo.vo.RoleListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdmRoleMapper {

    int insertBatch(AdminRole[] adminRoles);

    int deleteByAdmId(Long admId);

    int countByAdminId(Long adminId);

//    int update(List<AdminRole> adminRoles); 待完善，有bug
}
